package com.songtech.uitest.resources;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix = "indent") //这个可以写：prefix = "indent.tower"
@PropertySource("classpath:application.properties")
public class IndentResource {

    private String mobileID;

    private String towerID;


    private String proposeRegion;

    private String proposeCountry;

    private String proposePriority;

    private String proposeLongitude;

    private String proposeLatitude;

    private String proposeSignalRanges;

    private String proposeDemandResourceType;



    private String customFlow;



    private String undertakeProvince;

    private String undertakeRegion;

    private String undertakeCountry;



    private String screenProvince;

    private String screenRegion;

    private String screenCountry;

    private String screenSiteName;

    private String screenLongitude;

    private String screenLatitude;

    private String screenResourceType;

    private String screenSharingOldSite;

    private String screenBuildType;

    private String screenExistCm;

    private String screenSiteClientCount;



    private String orderResourceType;

    private String orderPriority;

    private String orderProvince;

    private String orderRegion;

    private String orderCountry;

    private String orderSiteName;

    private String orderLongitude;

    private String orderLatitude;

    private String orderIsSharing;

    private String orderFormerCustomerCount;

    private String orderIncreaseCustomerCount;

    private String orderBuildType;

    private String orderExistCm;

    private String orderSiteClientCount;



    private String deliverResourceType;

    private String deliverProName;

    private String deliverProvince;

    private String deliverRegion;

    private String deliverCountry;

    private String deliverExistCm;

    private String deliverSiteClientCount;

    private String deliverBuildType;

    private String deliverLongitude;

    private String deliverLatitude;



    private String rentPriority;

    private String rentRegion;

    private String rentCountry;

    private String rentRegionId;

    private String rentRegionCode;

    private String rentSiteRegion;

    private String rentSiteName;

    private String rentLongitude;

    private String rentLatitude;



    private String archiveProvince;

    private String archiveRegion;

    private String archiveCountry;

    private String archiveRegionId;

    private String archiveRegionCode;

    private String archiveSiteRegion;

    private String archiveSiteName;



    private String cancelProvince;

    private String cancelRegion;

    private String cancelCountry;


    private String cancelConfirmProvince;

    private String cancelConfirmRegion;

    private String cancelConfirmCountry;




    public String getMobileID() {
        return mobileID;
    }

    public void setMobileID(String mobileID) {
        this.mobileID = mobileID;
    }

    public String getTowerID() {
        return towerID;
    }

    public void setTowerID(String towerID) {
        this.towerID = towerID;
    }

    public String getCustomFlow() {
        return customFlow;
    }

    public void setCustomFlow(String customFlow) {
        this.customFlow = customFlow;
    }




    public String getScreenSharingOldSite() {
        return screenSharingOldSite;
    }

    public void setScreenSharingOldSite(String screenSharingOldSite) {
        this.screenSharingOldSite = screenSharingOldSite;
    }

    public String getScreenResourceType() {
        return screenResourceType;
    }

    public void setScreenResourceType(String screenResourceType) {
        this.screenResourceType = screenResourceType;
    }



    public String getUndertakeProvince() {
        return undertakeProvince;
    }

    public void setUndertakeProvince(String undertakeProvince) {
        this.undertakeProvince = undertakeProvince;
    }

    public String getUndertakeRegion() {
        return undertakeRegion;
    }

    public void setUndertakeRegion(String undertakeRegion) {
        this.undertakeRegion = undertakeRegion;
    }

    public String getUndertakeCountry() {
        return undertakeCountry;
    }

    public void setUndertakeCountry(String undertakeCountry) {
        this.undertakeCountry = undertakeCountry;
    }

    public String getScreenProvince() {
        return screenProvince;
    }

    public void setScreenProvince(String screenProvince) {
        this.screenProvince = screenProvince;
    }

    public String getScreenRegion() {
        return screenRegion;
    }

    public void setScreenRegion(String screenRegion) {
        this.screenRegion = screenRegion;
    }

    public String getScreenCountry() {
        return screenCountry;
    }

    public void setScreenCountry(String screenCountry) {
        this.screenCountry = screenCountry;
    }

    public String getScreenSiteName() {
        return screenSiteName;
    }

    public void setScreenSiteName(String screenSiteName) {
        this.screenSiteName = screenSiteName;
    }

    public String getScreenLongitude() {
        return screenLongitude;
    }

    public void setScreenLongitude(String screenLongitude) {
        this.screenLongitude = screenLongitude;
    }

    public String getScreenLatitude() {
        return screenLatitude;
    }

    public void setScreenLatitude(String screenLatitude) {
        this.screenLatitude = screenLatitude;
    }

    public String getScreenBuildType() {
        return screenBuildType;
    }

    public void setScreenBuildType(String screenBuildType) {
        this.screenBuildType = screenBuildType;
    }

    public String getScreenExistCm() {
        return screenExistCm;
    }

    public void setScreenExistCm(String screenExistCm) {
        this.screenExistCm = screenExistCm;
    }

    public String getScreenSiteClientCount() {
        return screenSiteClientCount;
    }

    public void setScreenSiteClientCount(String screenSiteClientCount) {
        this.screenSiteClientCount = screenSiteClientCount;
    }

    public String getProposeRegion() {
        return proposeRegion;
    }

    public void setProposeRegion(String proposeRegion) {
        this.proposeRegion = proposeRegion;
    }

    public String getProposeCountry() {
        return proposeCountry;
    }

    public void setProposeCountry(String proposeCountry) {
        this.proposeCountry = proposeCountry;
    }

    public String getProposePriority() {
        return proposePriority;
    }

    public void setProposePriority(String proposePriority) {
        this.proposePriority = proposePriority;
    }

    public String getProposeLongitude() {
        return proposeLongitude;
    }

    public void setProposeLongitude(String proposeLongitude) {
        this.proposeLongitude = proposeLongitude;
    }

    public String getProposeLatitude() {
        return proposeLatitude;
    }

    public void setProposeLatitude(String proposeLatitude) {
        this.proposeLatitude = proposeLatitude;
    }

    public String getProposeDemandResourceType() {
        return proposeDemandResourceType;
    }

    public void setProposeDemandResourceType(String proposeDemandResourceType) {
        this.proposeDemandResourceType = proposeDemandResourceType;
    }


    public String getOrderResourceType() {
        return orderResourceType;
    }

    public void setOrderResourceType(String orderResourceType) {
        this.orderResourceType = orderResourceType;
    }

    public String getOrderPriority() {
        return orderPriority;
    }

    public void setOrderPriority(String orderPriority) {
        this.orderPriority = orderPriority;
    }

    public String getOrderProvince() {
        return orderProvince;
    }

    public void setOrderProvince(String orderProvince) {
        this.orderProvince = orderProvince;
    }

    public String getOrderRegion() {
        return orderRegion;
    }

    public void setOrderRegion(String orderRegion) {
        this.orderRegion = orderRegion;
    }

    public String getOrderCountry() {
        return orderCountry;
    }

    public void setOrderCountry(String orderCountry) {
        this.orderCountry = orderCountry;
    }

    public String getOrderSiteName() {
        return orderSiteName;
    }

    public void setOrderSiteName(String orderSiteName) {
        this.orderSiteName = orderSiteName;
    }

    public String getOrderLongitude() {
        return orderLongitude;
    }

    public void setOrderLongitude(String orderLongitude) {
        this.orderLongitude = orderLongitude;
    }

    public String getOrderLatitude() {
        return orderLatitude;
    }

    public void setOrderLatitude(String orderLatitude) {
        this.orderLatitude = orderLatitude;
    }

    public String getOrderIsSharing() {
        return orderIsSharing;
    }

    public void setOrderIsSharing(String orderIsSharing) {
        this.orderIsSharing = orderIsSharing;
    }

    public String getOrderFormerCustomerCount() {
        return orderFormerCustomerCount;
    }

    public void setOrderFormerCustomerCount(String orderFormerCustomerCount) {
        this.orderFormerCustomerCount = orderFormerCustomerCount;
    }

    public String getOrderIncreaseCustomerCount() {
        return orderIncreaseCustomerCount;
    }

    public void setOrderIncreaseCustomerCount(String orderIncreaseCustomerCount) {
        this.orderIncreaseCustomerCount = orderIncreaseCustomerCount;
    }

    public String getOrderBuildType() {
        return orderBuildType;
    }

    public void setOrderBuildType(String orderBuildType) {
        this.orderBuildType = orderBuildType;
    }

    public String getOrderExistCm() {
        return orderExistCm;
    }

    public void setOrderExistCm(String orderExistCm) {
        this.orderExistCm = orderExistCm;
    }

    public String getOrderSiteClientCount() {
        return orderSiteClientCount;
    }

    public void setOrderSiteClientCount(String orderSiteClientCount) {
        this.orderSiteClientCount = orderSiteClientCount;
    }

    public String getDeliverResourceType() {
        return deliverResourceType;
    }

    public void setDeliverResourceType(String deliverResourceType) {
        this.deliverResourceType = deliverResourceType;
    }

    public String getDeliverProName() {
        return deliverProName;
    }

    public void setDeliverProName(String deliverProName) {
        this.deliverProName = deliverProName;
    }

    public String getDeliverProvince() {
        return deliverProvince;
    }

    public void setDeliverProvince(String deliverProvince) {
        this.deliverProvince = deliverProvince;
    }

    public String getDeliverRegion() {
        return deliverRegion;
    }

    public void setDeliverRegion(String deliverRegion) {
        this.deliverRegion = deliverRegion;
    }

    public String getDeliverCountry() {
        return deliverCountry;
    }

    public void setDeliverCountry(String deliverCountry) {
        this.deliverCountry = deliverCountry;
    }

    public String getDeliverExistCm() {
        return deliverExistCm;
    }

    public void setDeliverExistCm(String deliverExistCm) {
        this.deliverExistCm = deliverExistCm;
    }

    public String getDeliverSiteClientCount() {
        return deliverSiteClientCount;
    }

    public void setDeliverSiteClientCount(String deliverSiteClientCount) {
        this.deliverSiteClientCount = deliverSiteClientCount;
    }

    public String getDeliverBuildType() {
        return deliverBuildType;
    }

    public void setDeliverBuildType(String deliverBuildType) {
        this.deliverBuildType = deliverBuildType;
    }

    public String getDeliverLongitude() {
        return deliverLongitude;
    }

    public void setDeliverLongitude(String deliverLongitude) {
        this.deliverLongitude = deliverLongitude;
    }

    public String getDeliverLatitude() {
        return deliverLatitude;
    }

    public void setDeliverLatitude(String deliverLatitude) {
        this.deliverLatitude = deliverLatitude;
    }

    public String getRentPriority() {
        return rentPriority;
    }

    public void setRentPriority(String rentPriority) {
        this.rentPriority = rentPriority;
    }

    public String getRentRegion() {
        return rentRegion;
    }

    public void setRentRegion(String rentRegion) {
        this.rentRegion = rentRegion;
    }

    public String getRentCountry() {
        return rentCountry;
    }

    public void setRentCountry(String rentCountry) {
        this.rentCountry = rentCountry;
    }

    public String getRentRegionId() {
        return rentRegionId;
    }

    public void setRentRegionId(String rentRegionId) {
        this.rentRegionId = rentRegionId;
    }

    public String getRentRegionCode() {
        return rentRegionCode;
    }

    public void setRentRegionCode(String rentRegionCode) {
        this.rentRegionCode = rentRegionCode;
    }

    public String getRentSiteRegion() {
        return rentSiteRegion;
    }

    public void setRentSiteRegion(String rentSiteRegion) {
        this.rentSiteRegion = rentSiteRegion;
    }

    public String getRentSiteName() {
        return rentSiteName;
    }

    public void setRentSiteName(String rentSiteName) {
        this.rentSiteName = rentSiteName;
    }

    public String getRentLongitude() {
        return rentLongitude;
    }

    public void setRentLongitude(String rentLongitude) {
        this.rentLongitude = rentLongitude;
    }

    public String getRentLatitude() {
        return rentLatitude;
    }

    public void setRentLatitude(String rentLatitude) {
        this.rentLatitude = rentLatitude;
    }

    public String getCancelProvince() {
        return cancelProvince;
    }

    public void setCancelProvince(String cancelProvince) {
        this.cancelProvince = cancelProvince;
    }

    public String getCancelRegion() {
        return cancelRegion;
    }

    public void setCancelRegion(String cancelRegion) {
        this.cancelRegion = cancelRegion;
    }

    public String getCancelCountry() {
        return cancelCountry;
    }

    public void setCancelCountry(String cancelCountry) {
        this.cancelCountry = cancelCountry;
    }

    public String getCancelConfirmProvince() {
        return cancelConfirmProvince;
    }

    public void setCancelConfirmProvince(String cancelConfirmProvince) {
        this.cancelConfirmProvince = cancelConfirmProvince;
    }

    public String getCancelConfirmRegion() {
        return cancelConfirmRegion;
    }

    public void setCancelConfirmRegion(String cancelConfirmRegion) {
        this.cancelConfirmRegion = cancelConfirmRegion;
    }

    public String getCancelConfirmCountry() {
        return cancelConfirmCountry;
    }

    public void setCancelConfirmCountry(String cancelConfirmCountry) {
        this.cancelConfirmCountry = cancelConfirmCountry;
    }


    public String getArchiveProvince() {
        return archiveProvince;
    }

    public void setArchiveProvince(String archiveProvince) {
        this.archiveProvince = archiveProvince;
    }

    public String getArchiveRegion() {
        return archiveRegion;
    }

    public void setArchiveRegion(String archiveRegion) {
        this.archiveRegion = archiveRegion;
    }

    public String getArchiveCountry() {
        return archiveCountry;
    }

    public void setArchiveCountry(String archiveCountry) {
        this.archiveCountry = archiveCountry;
    }

    public String getArchiveRegionId() {
        return archiveRegionId;
    }

    public void setArchiveRegionId(String archiveRegionId) {
        this.archiveRegionId = archiveRegionId;
    }

    public String getArchiveRegionCode() {
        return archiveRegionCode;
    }

    public void setArchiveRegionCode(String archiveRegionCode) {
        this.archiveRegionCode = archiveRegionCode;
    }

    public String getArchiveSiteRegion() {
        return archiveSiteRegion;
    }

    public void setArchiveSiteRegion(String archiveSiteRegion) {
        this.archiveSiteRegion = archiveSiteRegion;
    }

    public String getArchiveSiteName() {
        return archiveSiteName;
    }

    public void setArchiveSiteName(String archiveSiteName) {
        this.archiveSiteName = archiveSiteName;
    }

    public String getProposeSignalRanges() {
        return proposeSignalRanges;
    }

    public String[] getProposeSignalRangesArray(){
        String[] ranges = getProposeSignalRanges().split(",");
        return ranges;
    }


    public void setProposeSignalRanges(String proposeSignalRanges) {
        this.proposeSignalRanges = proposeSignalRanges;
    }

    //类似从字符串"00,01"转为Object[Object["00"],Object["00"]]
    private Object[][] converter(String property){
        Object[] array = property.split(","); //Object["00","01"]
        Object[][] objArray = new Object[array.length][];
        for(int i=0;i<array.length;i++){
            objArray[i] = new Object[]{array[i]};
        }
        return objArray;
    }
}
